import Welcome from '@/views/Welcome.vue'
import error from '@/components/404.vue'
const childrens = [{
		path: '/welcome',
		component: Welcome,
	}, {
		// 用户相关页面
		path: '/user/list',
		component: () => import('@/views/user/User.vue')
	}, {
		// 管理员列表
		path: '/admin/list',
		component: () => import('@/views/user/Admin.vue')
	}, {
		// 内容 - 帖子
		path: '/content/blog',
		name: 'Blog',
		component: () => import('@/views/content/Blog.vue')
	},
	{
		// 内容 - 帖子具体内容
		path: '/content/blog/detail',
		component: () => import('@/views/content/blogdetail/BlogDetail.vue')
	},
	{
		// 内容 - 管理员添加帖子
		path: '/content/blog/edit',
		component: () => import('@/views/content/blogdetail/BlogEdit.vue')
	}
	, {
		// 内容 - 关于
		path: '/content/about',
		name: 'About',
		component: () => import('@/views/content/About.vue')
	}, 
	{
		// 内容 - 关于 edit
		path: '/content/about/edit',
		name: 'editAbout',
		component: () => import('@/views/content/aboutdetail/AboutEdit.vue')
	},
	{
		// 内容 - 关于 detail
		path: '/content/about/detail',
		name: 'aboutDetail',
		component: () => import('@/views/content/aboutdetail/AboutDetail.vue')
	},
	{
		// 系统 - 留言板
		path: '/system/msgboard',
		name: 'MsgBoard',
		component: () => import('@/views/system/MsgBoard.vue')
	}, 
	{
		// 系统 - 留言板编辑
		path: '/system/msgboard/edit',
		component: () => import('@/views/system/msgboarddetail/MsgBoardEdit.vue')
	},
	{
		// 系统 - 时间轴
		path: '/system/timeline',
		name: 'TimeLine',
		component: () => import('@/views/system/TimeLine.vue')
	},
	{
		path: '/system/timeline/edit',
		name: 'TimeLineEdit',
		component: () => import('@/views/system/timelinedetail/TimeLineEdit.vue')
	}, {
		// 时间轴预览页
		path: '/system/timeline/preview',
		name: 'TimeLineDetail',
		component: () => import('@/views/system/timelinedetail/TimeLinePreview.vue')
	}, {
		// 系统 - 友情链接
		path: '/system/link',
		name: 'Link',
		component: () => import('@/views/system/Link.vue')
	},{
		// 系统 - 友情链接编辑
		path: '/system/link/edit',
		name: 'LinkEdit',
		component: () => import('@/views/system/linkdetail/LinkEdit.vue')
	} ,{
		// 系统 - 日志
		path: '/system/log',
		component: () => import('@/views/system/Log.vue')
	}, {
		// 资源 - 图片
		path: '/resource/source',
		name: 'Image',
		component: () => import('@/views/resource/Source.vue')
	}, {
		// 资源 - 搜索
		path: '/resource/search',
		component: () => import('@/views/resource/Search.vue')
	}, {
		path: '/data/analyse',
		component: () => import('@/views/data/Data.vue')
	},
	{
		path: '/**',
		component: error,
		meta: {title: '页面丢失了'}
	},
]

export default childrens
